<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":"
            + request.getServerPort() + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>"/> <!-- 设置页面的基础路径，页面所有资源引入和页面跳转都基于bathPath -->
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="Bookmark" href="/favicon.ico">
    <link rel="Shortcut Icon" href="/favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css"/>
    <title>好医生诊所管理系统</title>
</head>
<body>
<header class="navbar-wrapper">
    <div class="navbar navbar-fixed-top">
        <div class="container-fluid cl">
            <a class="logo navbar-logo f-l mr-10 hidden-xs" href="/aboutHui.shtml">好医生诊所管理系统</a>
            <a class="logo navbar-logo-m f-l mr-10 visible-xs" href="/aboutHui.shtml">H-ui</a>
            <span class="logo navbar-slogan f-l mr-10 hidden-xs">v1.0</span>
            <a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
            <nav class="nav navbar-nav">
            </nav>
            <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
                <ul class="cl">
                    <li><shiro:principal property="username"/></li>   <!-- 登录后展示用户名信息 -->
                    <li class="dropDown dropDown_hover">
                        <a href="#" class="dropDown_A">
                            <shiro:principal property="jobName"/>  <!-- 登录后展示角色名信息 -->
                            <i class="Hui-iconfont">&#xe6d5;</i>
                        </a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <li><a href="logout.do">退出</a></li>
                        </ul>
                    </li>
                    <li id="Hui-skin" class="dropDown right dropDown_hover">
                        <a href="javascript:;" class="dropDown_A" title="换肤"><i class="Hui-iconfont" style="font-size:18px">&#xe62a;</i></a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <li><a href="javascript:;" data-val="blue" title="蓝色">默认（蓝色）</a></li>
                            <li><a href="javascript:;" data-val="default" title="黑色">黑色</a></li>
                            <li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
                            <li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
                            <li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
                            <li><a href="javascript:;" data-val="orange" title="橙色">橙色</a></li>
                        </ul>
                    </li>
                </ul>
            </nav>
        </div>
    </div>
</header>
<aside class="Hui-aside">
    <div class="menu_dropdown bk_2">
        <shiro:hasPermission name="system:systemManager">
            <dl id="menu-admin">
                <dt style="font-size: 16px;"><i class="Hui-iconfont">&#xe62e;</i>&nbsp;&nbsp;系统管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                <dd>
                    <ul>
                        <shiro:hasPermission name="user:userPage">
                            <li><a data-href="user/userPage.do" data-title="员工管理" href="javascript:void(0)">员工管理</a></li>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="dept:deptPage">
                            <li><a data-href="dept/deptPage.do" data-title="科室管理" href="javascript:void(0)">科室管理</a></li>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="permission:permissionPage">
                            <li><a data-href="permission/permissionPage.do" data-title="权限管理" href="javascript:void(0)">权限管理</a></li>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="job:jobPage">
                            <li><a data-href="job/jobPage.do" data-title="职务管理" href="javascript:void(0)">职务管理</a></li>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="register:registerPage">
                            <li><a data-href="register/registerPage.do" data-title="挂号费管理" href="javascript:void(0)">挂号费管理</a></li>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="recipe:recipePage">
                            <li><a data-href="recipe/recipePage.do" data-title="处方费管理" href="javascript:void(0)">处方费管理</a></li>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="exam:examPage">
                            <li><a data-href="exam/examPage.do" data-title="检查项目管理" href="javascript:void(0)">检查项目管理</a></li>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="dictionary:dictionaryPage">
                            <li><a data-href="dictionary/dictionaryPage.do" data-title="字典表维护" href="javascript:void(0)">字典表维护</a></li>
                        </shiro:hasPermission>
                        <li><a data-href="#" data-title="诊所信息" href="javascript:void(0)">诊所信息</a></li>
                    </ul>
                </dd>
            </dl>
        </shiro:hasPermission>

        <shiro:hasPermission name="patient:patientManager">
            <dl id="menu-member">
                <dt style="font-size: 16px;"><i class="Hui-iconfont">&#xe643;</i>&nbsp;&nbsp;看病就诊<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                <dd>
                    <ul>
                        <shiro:hasPermission name="patientRegister:patientRegisterPage">
                            <li><a data-href="patientRegister/patientRegisterPage.do" data-title="门诊挂号" href="javascript:void(0)">门诊挂号</a></li>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="patientDiagnose:patientDiagnosePage">
                            <li><a data-href="patientDiagnose/patientDiagnosePage.do" data-title="就诊管理" href="javascript:void(0)">就诊管理</a></li>
                        </shiro:hasPermission>
                        <li><a data-href="#" data-title="医生排班" href="javascript:void(0)">医生排班</a></li>
                        <li><a data-href="#" data-title="患者库" href="javascript:void(0)">患者库</a></li>
                    </ul>
                </dd>
            </dl>
        </shiro:hasPermission>

        <dl id="menu-product">
            <dt style="font-size: 16px;"><i class="Hui-iconfont">&#xe6b5;</i>&nbsp;&nbsp;药品管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a data-href="#" data-title="药品信息维护" href="javascript:void(0)">药品信息维护</a></li>
                    <li><a data-href="#" data-title="供应商维护" href="javascript:void(0)">供应商维护</a></li>
                    <li><a data-href="#" data-title="采购入库" href="javascript:void(0)">采购入库</a></li>
                    <li><a data-href="#" data-title="入库审核" href="javascript:void(0)">入库审核</a></li>
                    <li><a data-href="#" data-title="库存查询" href="javascript:void(0)">库存查询</a></li>
                </ul>
            </dd>
        </dl>
    </div>
</aside>
<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a>
</div>
<section class="Hui-article-box">
    <div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
        <div class="Hui-tabNav-wp">
            <ul id="min_title_list" class="acrossTab cl">
                <li class="active">
                    <span title="我的桌面" data-href="welcome.do">我的桌面</span>
                    <em></em></li>
            </ul>
        </div>
        <div class="Hui-tabNav-more btn-group">
            <a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a>
            <a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a>
        </div>
    </div>
    <div id="iframe_box" class="Hui-article">
        <div class="show_iframe">
            <div style="display:none" class="loading"></div>
            <iframe scrolling="yes" frameborder="0" src="welcome.do"></iframe>
        </div>
    </div>
</section>

<div class="contextMenu" id="Huiadminmenu">
    <ul>
        <li id="closethis">关闭当前</li>
        <li id="closeall">关闭全部</li>
    </ul>
</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>

</body>
</html>
